aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/invoice/[id]/+page.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-13 20:26:53 -0800
committerAdam Soltys <[email protected]>2023-01-13 20:26:53 -0800
commit75e1e4e6aa2dbc7d400df1860758db28bf44b7a3 (patch)
treeaf771877eb261c41aa158aef2dddf96fa40f653c /src/routes/(app)/invoice/[id]/+page.svelte
parentde702e5d9a8a5addcd33012c43315d5e7ddaf101 (diff)
downloadcoinos-ui-75e1e4e6aa2dbc7d400df1860758db28bf44b7a3.tar.gz
coinos-ui-75e1e4e6aa2dbc7d400df1860758db28bf44b7a3.zip
server redis migration
Diffstat (limited to 'src/routes/(app)/invoice/[id]/+page.svelte')
-rw-r--r--src/routes/(app)/invoice/[id]/+page.svelte6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/invoice/[id]/+page.svelte b/src/routes/(app)/invoice/[id]/+page.svelte
index 5eadb179..db491c66 100644
--- a/src/routes/(app)/invoice/[id]/+page.svelte
+++ b/src/routes/(app)/invoice/[id]/+page.svelte
@@ -22,7 +22,7 @@
prompt,
text,
tip,
- user: { username, currency, uuid }
+ user: { username, currency }
} = invoice;
let showQr = !amount;
@@ -43,7 +43,7 @@
prompt,
text,
tip,
- user: { username, currency, uuid }
+ user: { username, currency }
} = invoice);
tipPercent = (tip / amount) * 100;
@@ -108,7 +108,7 @@
>
{#if user && user.username !== username}
- <a href={`/send/${invoice.uuid}`}>
+ <a href={`/send/${invoice.id}`}>
<button class="flex rounded-full border py-2 px-5 font-bold hover:opacity-80">
<Icon icon="send" style="mr-1" />
<div class="my-auto">Pay</div>